package com.carsystem.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.carsystem.entity.Role;
import com.carsystem.mapper.RoleMapper;
import com.carsystem.service.IRoleService;
import org.apache.dubbo.config.annotation.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements IRoleService {

    @Resource
    private RoleMapper roleMapper;
    @Override
    public List<Role> selectByUid(int id) {
        return roleMapper.selectByUid(id);
    }
}
